package com.open.capacity.finance.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.open.capacity.commons.PageResult;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.open.capacity.commons.CodeEnum;
import java.util.List;
import java.util.Map;
import org.apache.commons.collections4.MapUtils;

import com.open.capacity.finance.entity.FinanceFile;
import com.open.capacity.finance.dao.FinanceFileDao;
import com.open.capacity.finance.service.FinanceFileService;


@Service
public class FinanceFileServiceImpl  implements FinanceFileService {

    @Autowired
    private FinanceFileDao financeFileDao;


    /**
     * 查询记录
     * @param id
     * @return
     */
    public FinanceFile findById(String id){
        return financeFileDao.findById(id);
    }


    /**
    * 列表
    * @param params
    * @return
    */
    public List<FinanceFile> findAll(Map<String, Object> params){
        return  financeFileDao.findAll(params);
    }

}
